﻿using System.Collections.Generic;

using Prodma.DataAccess.Database;
using Prodma.DataAccess.Models.ViewModels;
using Prodma.DataAccess.Interfaces.Operations;

namespace Prodma.DataAccess.Repositories
{
    public interface IContentRepository : 
        IRecordOperation<tb_Content, ContentVm>,
        IPageOperation<ContentVm>,
        IPageableFindOperation<ContentVm>,
        IParentRelationshipOperation,
        IOrderOperation<ContentOrderVm>,
        IRowCountOperation,
        IStateOperation,
        IImageOperation
    {
        IList<int> GetCategoryList();
        void SetDefaultArchive(int id);

        IList<ContentVm> GetList(int page, int category);
        int GetTotalRowCount(int category);
    }
}
